<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.11"/>
<title>ShipCAD: ShipCADlib/marker.cpp Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { init_search(); });
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">ShipCAD
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.11 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="namespaces.html"><span>Namespaces</span></a></li>
      <li><a href="annotated.html"><span>Classes</span></a></li>
      <li class="current"><a href="files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="files.html"><span>File&#160;List</span></a></li>
      <li><a href="globals.html"><span>File&#160;Members</span></a></li>
    </ul>
  </div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="dir_f0b6ef187c5b1483641b038f81654ac4.html">ShipCADlib</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="headertitle">
<div class="title">marker.cpp</div>  </div>
</div><!--header-->
<div class="contents">
<a href="marker_8cpp.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno">    1</span>&#160;<span class="comment">/*###############################################################################################</span></div><div class="line"><a name="l00002"></a><span class="lineno">    2</span>&#160;<span class="comment"> *    ShipCAD                                                                                   *</span></div><div class="line"><a name="l00003"></a><span class="lineno">    3</span>&#160;<span class="comment"> *    Copyright 2015, by Greg Green &lt;ggreen@bit-builder.com&gt;                                    *</span></div><div class="line"><a name="l00004"></a><span class="lineno">    4</span>&#160;<span class="comment"> *    Original Copyright header below                                                           *</span></div><div class="line"><a name="l00005"></a><span class="lineno">    5</span>&#160;<span class="comment"> *                                                                                              *</span></div><div class="line"><a name="l00006"></a><span class="lineno">    6</span>&#160;<span class="comment"> *    This code is distributed as part of the FREE!ship project. FREE!ship is an                *</span></div><div class="line"><a name="l00007"></a><span class="lineno">    7</span>&#160;<span class="comment"> *    open source surface-modelling program based on subdivision surfaces and intended for      *</span></div><div class="line"><a name="l00008"></a><span class="lineno">    8</span>&#160;<span class="comment"> *    designing ships.                                                                          *</span></div><div class="line"><a name="l00009"></a><span class="lineno">    9</span>&#160;<span class="comment"> *                                                                                              *</span></div><div class="line"><a name="l00010"></a><span class="lineno">   10</span>&#160;<span class="comment"> *    Copyright © 2005, by Martijn van Engeland                                                 *</span></div><div class="line"><a name="l00011"></a><span class="lineno">   11</span>&#160;<span class="comment"> *    e-mail                  : Info@FREEship.org                                               *</span></div><div class="line"><a name="l00012"></a><span class="lineno">   12</span>&#160;<span class="comment"> *    FREE!ship project page  : https://sourceforge.net/projects/freeship                       *</span></div><div class="line"><a name="l00013"></a><span class="lineno">   13</span>&#160;<span class="comment"> *    FREE!ship homepage      : www.FREEship.org                                                *</span></div><div class="line"><a name="l00014"></a><span class="lineno">   14</span>&#160;<span class="comment"> *                                                                                              *</span></div><div class="line"><a name="l00015"></a><span class="lineno">   15</span>&#160;<span class="comment"> *    This program is free software; you can redistribute it and/or modify it under             *</span></div><div class="line"><a name="l00016"></a><span class="lineno">   16</span>&#160;<span class="comment"> *    the terms of the GNU General Public License as published by the                           *</span></div><div class="line"><a name="l00017"></a><span class="lineno">   17</span>&#160;<span class="comment"> *    Free Software Foundation; either version 2 of the License, or (at your option)            *</span></div><div class="line"><a name="l00018"></a><span class="lineno">   18</span>&#160;<span class="comment"> *    any later version.                                                                        *</span></div><div class="line"><a name="l00019"></a><span class="lineno">   19</span>&#160;<span class="comment"> *                                                                                              *</span></div><div class="line"><a name="l00020"></a><span class="lineno">   20</span>&#160;<span class="comment"> *    This program is distributed in the hope that it will be useful, but WITHOUT ANY           *</span></div><div class="line"><a name="l00021"></a><span class="lineno">   21</span>&#160;<span class="comment"> *    WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A           *</span></div><div class="line"><a name="l00022"></a><span class="lineno">   22</span>&#160;<span class="comment"> *    PARTICULAR PURPOSE. See the GNU General Public License for more details.                  *</span></div><div class="line"><a name="l00023"></a><span class="lineno">   23</span>&#160;<span class="comment"> *                                                                                              *</span></div><div class="line"><a name="l00024"></a><span class="lineno">   24</span>&#160;<span class="comment"> *    You should have received a copy of the GNU General Public License along with              *</span></div><div class="line"><a name="l00025"></a><span class="lineno">   25</span>&#160;<span class="comment"> *    this program; if not, write to the Free Software Foundation, Inc.,                        *</span></div><div class="line"><a name="l00026"></a><span class="lineno">   26</span>&#160;<span class="comment"> *    59 Temple Place, Suite 330, Boston, MA 02111-1307 USA                                     *</span></div><div class="line"><a name="l00027"></a><span class="lineno">   27</span>&#160;<span class="comment"> *                                                                                              *</span></div><div class="line"><a name="l00028"></a><span class="lineno">   28</span>&#160;<span class="comment"> *##############################################################################################*/</span></div><div class="line"><a name="l00029"></a><span class="lineno">   29</span>&#160;</div><div class="line"><a name="l00030"></a><span class="lineno">   30</span>&#160;<span class="preprocessor">#include &lt;iostream&gt;</span></div><div class="line"><a name="l00031"></a><span class="lineno">   31</span>&#160;<span class="preprocessor">#include &lt;cmath&gt;</span></div><div class="line"><a name="l00032"></a><span class="lineno">   32</span>&#160;<span class="preprocessor">#include &lt;algorithm&gt;</span></div><div class="line"><a name="l00033"></a><span class="lineno">   33</span>&#160;</div><div class="line"><a name="l00034"></a><span class="lineno">   34</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="marker_8h.html">marker.h</a>&quot;</span></div><div class="line"><a name="l00035"></a><span class="lineno">   35</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="filebuffer_8h.html">filebuffer.h</a>&quot;</span></div><div class="line"><a name="l00036"></a><span class="lineno">   36</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="spline_8h.html">spline.h</a>&quot;</span></div><div class="line"><a name="l00037"></a><span class="lineno">   37</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="shipcadmodel_8h.html">shipcadmodel.h</a>&quot;</span></div><div class="line"><a name="l00038"></a><span class="lineno">   38</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="viewport_8h.html">viewport.h</a>&quot;</span></div><div class="line"><a name="l00039"></a><span class="lineno">   39</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="shader_8h.html">shader.h</a>&quot;</span></div><div class="line"><a name="l00040"></a><span class="lineno">   40</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="exception_8h.html">exception.h</a>&quot;</span></div><div class="line"><a name="l00041"></a><span class="lineno">   41</span>&#160;</div><div class="line"><a name="l00042"></a><span class="lineno">   42</span>&#160;<span class="keyword">using namespace </span><a class="code" href="namespacestd.html">std</a>;</div><div class="line"><a name="l00043"></a><span class="lineno">   43</span>&#160;<span class="keyword">using namespace </span><a class="code" href="namespaceShipCAD.html">ShipCAD</a>;</div><div class="line"><a name="l00044"></a><span class="lineno">   44</span>&#160;</div><div class="line"><a name="l00045"></a><span class="lineno"><a class="line" href="classShipCAD_1_1Marker.html#a216cf592a0945f6b6923a00c9625e3bf">   45</a></span>&#160;Marker::Marker(<a class="code" href="classShipCAD_1_1ShipCADModel.html">ShipCADModel</a>* owner)</div><div class="line"><a name="l00046"></a><span class="lineno">   46</span>&#160;    : _owner(owner), _visible(true)</div><div class="line"><a name="l00047"></a><span class="lineno">   47</span>&#160;{</div><div class="line"><a name="l00048"></a><span class="lineno">   48</span>&#160;    <span class="comment">// does nothing</span></div><div class="line"><a name="l00049"></a><span class="lineno">   49</span>&#160;}</div><div class="line"><a name="l00050"></a><span class="lineno">   50</span>&#160;</div><div class="line"><a name="l00051"></a><span class="lineno"><a class="line" href="classShipCAD_1_1Marker.html#af505b0f8f0aa9049fd65a7f9b675abbc">   51</a></span>&#160;<a class="code" href="classShipCAD_1_1Marker.html">Marker</a>* <a class="code" href="classShipCAD_1_1Marker.html#af505b0f8f0aa9049fd65a7f9b675abbc">Marker::construct</a>(<a class="code" href="classShipCAD_1_1ShipCADModel.html">ShipCADModel</a>* owner)</div><div class="line"><a name="l00052"></a><span class="lineno">   52</span>&#160;{</div><div class="line"><a name="l00053"></a><span class="lineno">   53</span>&#160;    <a class="code" href="classShipCAD_1_1Marker.html">Marker</a>* m = <span class="keyword">new</span> <a class="code" href="classShipCAD_1_1Marker.html#a216cf592a0945f6b6923a00c9625e3bf">Marker</a>(owner);</div><div class="line"><a name="l00054"></a><span class="lineno">   54</span>&#160;    <span class="keywordflow">return</span> m;</div><div class="line"><a name="l00055"></a><span class="lineno">   55</span>&#160;}</div><div class="line"><a name="l00056"></a><span class="lineno">   56</span>&#160;</div><div class="line"><a name="l00057"></a><span class="lineno"><a class="line" href="classShipCAD_1_1Marker.html#ac7c7eea8648562f3fa00a9e10af6ec97">   57</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="classShipCAD_1_1Marker.html#ac7c7eea8648562f3fa00a9e10af6ec97">Marker::clear</a>()</div><div class="line"><a name="l00058"></a><span class="lineno">   58</span>&#160;{</div><div class="line"><a name="l00059"></a><span class="lineno">   59</span>&#160;    _visible = <span class="keyword">true</span>;</div><div class="line"><a name="l00060"></a><span class="lineno">   60</span>&#160;    <a class="code" href="classShipCAD_1_1Spline.html#a02967f3eee8b1755eab0d7da55c3c621">Spline::clear</a>();</div><div class="line"><a name="l00061"></a><span class="lineno">   61</span>&#160;}</div><div class="line"><a name="l00062"></a><span class="lineno">   62</span>&#160;</div><div class="line"><a name="l00063"></a><span class="lineno"><a class="line" href="classShipCAD_1_1Marker.html#a0cca647d9b32dc69b03903b024dc3091">   63</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="classShipCAD_1_1Marker.html#a0cca647d9b32dc69b03903b024dc3091">Marker::draw</a>(<a class="code" href="classShipCAD_1_1Viewport.html">Viewport</a>&amp; vp, <a class="code" href="classShipCAD_1_1LineShader.html">LineShader</a>* lineshader)</div><div class="line"><a name="l00064"></a><span class="lineno">   64</span>&#160;{</div><div class="line"><a name="l00065"></a><span class="lineno">   65</span>&#160;    <span class="keywordflow">if</span> (!<a class="code" href="classShipCAD_1_1Marker.html#a505a790bb39356858ecf59513a76ec95">isVisible</a>())</div><div class="line"><a name="l00066"></a><span class="lineno">   66</span>&#160;        <span class="keywordflow">return</span>;</div><div class="line"><a name="l00067"></a><span class="lineno">   67</span>&#160;    <span class="keywordflow">if</span> (<a class="code" href="classShipCAD_1_1Marker.html#ab7beb66cda8917ec7bfbc833f9b71071">isSelected</a>())</div><div class="line"><a name="l00068"></a><span class="lineno">   68</span>&#160;        <a class="code" href="classShipCAD_1_1Entity.html#a5e0e5f174d287e807b5409b1aa5704bc">setColor</a>(_owner-&gt;<a class="code" href="classShipCAD_1_1ShipCADModel.html#aa6af8872deba5b401ac575a85901a265">getPreferences</a>().<a class="code" href="classShipCAD_1_1Preferences.html#af54f177e516849e7f8212841db9b1ed8">getSelectColor</a>());</div><div class="line"><a name="l00069"></a><span class="lineno">   69</span>&#160;    <span class="keywordflow">else</span></div><div class="line"><a name="l00070"></a><span class="lineno">   70</span>&#160;        <a class="code" href="classShipCAD_1_1Entity.html#a5e0e5f174d287e807b5409b1aa5704bc">setColor</a>(_owner-&gt;<a class="code" href="classShipCAD_1_1ShipCADModel.html#aa6af8872deba5b401ac575a85901a265">getPreferences</a>().<a class="code" href="classShipCAD_1_1Preferences.html#a79f08737b96acb62b538feb347e2addf">getMarkerColor</a>());</div><div class="line"><a name="l00071"></a><span class="lineno">   71</span>&#160;    <a class="code" href="classShipCAD_1_1Spline.html#aaae6e558fad0833cde71f9ed38e4fb96">setFragments</a>(250);</div><div class="line"><a name="l00072"></a><span class="lineno">   72</span>&#160;</div><div class="line"><a name="l00073"></a><span class="lineno">   73</span>&#160;    QVector&lt;QVector3D&gt;&amp; vertices = lineshader-&gt;<a class="code" href="classShipCAD_1_1LineShader.html#a68f7433ac957df5b454eb1440ad1c7d9">getVertexBuffer</a>();</div><div class="line"><a name="l00074"></a><span class="lineno">   74</span>&#160;</div><div class="line"><a name="l00075"></a><span class="lineno">   75</span>&#160;    QVector3D p3d;</div><div class="line"><a name="l00076"></a><span class="lineno">   76</span>&#160;    <span class="keywordflow">if</span> (vp.<a class="code" href="classShipCAD_1_1Viewport.html#a5f261a1925f09917013e8e532688326a">getViewportType</a>() == <a class="code" href="namespaceShipCAD.html#aeeeb05810f2e31ef89fd4ac6b6ba9c0aa1bc519e3e41c233dd8e94c40af1fd36d">fvBodyplan</a> &amp;&amp; _owner-&gt;<a class="code" href="classShipCAD_1_1ShipCADModel.html#a50cca4c783baeba58c8068c9b8a5d6a4">getVisibility</a>().<a class="code" href="classShipCAD_1_1Visibility.html#a34d56f9e9467b9749c6b50adfe8a0493">getModelView</a>() != <a class="code" href="namespaceShipCAD.html#a742f9cd95e62e207769e17467ecd5bb7ad45c94ca5dea7f967d58f9864f49c465">mvBoth</a>) {</div><div class="line"><a name="l00077"></a><span class="lineno">   77</span>&#160;</div><div class="line"><a name="l00078"></a><span class="lineno">   78</span>&#160;        vector&lt;float&gt; params;</div><div class="line"><a name="l00079"></a><span class="lineno">   79</span>&#160;        vector&lt;QVector3D&gt; parray1;</div><div class="line"><a name="l00080"></a><span class="lineno">   80</span>&#160;        vector&lt;QVector3D&gt; parray2;</div><div class="line"><a name="l00081"></a><span class="lineno">   81</span>&#160;</div><div class="line"><a name="l00082"></a><span class="lineno">   82</span>&#160;        <a class="code" href="classShipCAD_1_1Plane.html">Plane</a> pln(1,0,0,-_owner-&gt;<a class="code" href="classShipCAD_1_1ShipCADModel.html#a94a8eed8ac8ff4ad8287a0a1113e3271">getProjectSettings</a>().<a class="code" href="classShipCAD_1_1ProjectSettings.html#a194fe12f81ed80e691e8a89c88d91a0b">getMainframeLocation</a>());</div><div class="line"><a name="l00083"></a><span class="lineno">   83</span>&#160;        params.push_back(0);</div><div class="line"><a name="l00084"></a><span class="lineno">   84</span>&#160;        params.push_back(1);</div><div class="line"><a name="l00085"></a><span class="lineno">   85</span>&#160;</div><div class="line"><a name="l00086"></a><span class="lineno">   86</span>&#160;        <a class="code" href="classShipCAD_1_1IntersectionData.html">IntersectionData</a> output;</div><div class="line"><a name="l00087"></a><span class="lineno">   87</span>&#160;        <span class="keywordflow">if</span> (<a class="code" href="classShipCAD_1_1Spline.html#ada8dd726a502187bf0e35022576395d3">intersect_plane</a>(pln, output)) {</div><div class="line"><a name="l00088"></a><span class="lineno">   88</span>&#160;            params.insert(params.end(), output.<a class="code" href="classShipCAD_1_1IntersectionData.html#a06fcbb71243644bdea0e5b86da3b191c">parameters</a>.begin(), output.<a class="code" href="classShipCAD_1_1IntersectionData.html#a06fcbb71243644bdea0e5b86da3b191c">parameters</a>.end());</div><div class="line"><a name="l00089"></a><span class="lineno">   89</span>&#160;            sort(params.begin(), params.end());</div><div class="line"><a name="l00090"></a><span class="lineno">   90</span>&#160;        }</div><div class="line"><a name="l00091"></a><span class="lineno">   91</span>&#160;</div><div class="line"><a name="l00092"></a><span class="lineno">   92</span>&#160;        <span class="keywordflow">for</span> (<span class="keywordtype">size_t</span> i=1; i&lt;params.size(); i++) {</div><div class="line"><a name="l00093"></a><span class="lineno">   93</span>&#160;            p3d = <a class="code" href="classShipCAD_1_1Spline.html#aa62cf7afa6461bafce7227ec31875219">value</a>(0.5 * params[i-1] + params[i]);</div><div class="line"><a name="l00094"></a><span class="lineno">   94</span>&#160;            <span class="keywordtype">float</span> scale = 1;</div><div class="line"><a name="l00095"></a><span class="lineno">   95</span>&#160;            <span class="keywordflow">if</span> (p3d.x() &lt; _owner-&gt;<a class="code" href="classShipCAD_1_1ShipCADModel.html#a94a8eed8ac8ff4ad8287a0a1113e3271">getProjectSettings</a>().<a class="code" href="classShipCAD_1_1ProjectSettings.html#a194fe12f81ed80e691e8a89c88d91a0b">getMainframeLocation</a>())</div><div class="line"><a name="l00096"></a><span class="lineno">   96</span>&#160;                scale = -1;</div><div class="line"><a name="l00097"></a><span class="lineno">   97</span>&#160;            <span class="keywordtype">size_t</span> fragm = floor((params[i] - params[i-1])*<a class="code" href="classShipCAD_1_1Spline.html#a58f8c0b2fcc07931a886a85515750e59">getFragments</a>());</div><div class="line"><a name="l00098"></a><span class="lineno">   98</span>&#160;            <span class="keywordflow">if</span> (fragm &lt; 10)</div><div class="line"><a name="l00099"></a><span class="lineno">   99</span>&#160;                fragm = 10;</div><div class="line"><a name="l00100"></a><span class="lineno">  100</span>&#160;            <span class="keywordflow">for</span> (<span class="keywordtype">size_t</span> j=0; j&lt;fragm; j++) {</div><div class="line"><a name="l00101"></a><span class="lineno">  101</span>&#160;                <span class="keywordtype">float</span> t = params[i-1] + (params[i] - params[i-1]) * j / (fragm - 1);</div><div class="line"><a name="l00102"></a><span class="lineno">  102</span>&#160;                QVector3D p = <a class="code" href="classShipCAD_1_1Spline.html#aa62cf7afa6461bafce7227ec31875219">value</a>(t);</div><div class="line"><a name="l00103"></a><span class="lineno">  103</span>&#160;                p.setY(p.y() * scale);</div><div class="line"><a name="l00104"></a><span class="lineno">  104</span>&#160;                parray1.push_back(p);</div><div class="line"><a name="l00105"></a><span class="lineno">  105</span>&#160;            }</div><div class="line"><a name="l00106"></a><span class="lineno">  106</span>&#160;            <span class="keywordflow">if</span> (<a class="code" href="classShipCAD_1_1Spline.html#a2b6fa67f7463838ab2ee9d7b8381a9c5">showCurvature</a>()) {</div><div class="line"><a name="l00107"></a><span class="lineno">  107</span>&#160;                <span class="keywordflow">for</span> (<span class="keywordtype">size_t</span> j=0; j&lt;fragm; j++) {</div><div class="line"><a name="l00108"></a><span class="lineno">  108</span>&#160;                    <span class="keywordtype">float</span> t = params[i-1] + (params[i] - params[i-1]) * j / (fragm - 1);</div><div class="line"><a name="l00109"></a><span class="lineno">  109</span>&#160;                    QVector3D normal;</div><div class="line"><a name="l00110"></a><span class="lineno">  110</span>&#160;                    <span class="keywordtype">float</span> c = <a class="code" href="classShipCAD_1_1Spline.html#a755e063448eccbb2714d763596630b9d">curvature</a>(t, normal);</div><div class="line"><a name="l00111"></a><span class="lineno">  111</span>&#160;                    normal.setY(normal.y() * scale);</div><div class="line"><a name="l00112"></a><span class="lineno">  112</span>&#160;                    QVector3D p2 = parray1[j] - (c * 2 * <a class="code" href="classShipCAD_1_1Spline.html#af82a5bc6171a9252de5e4c74bf1288e5">getCurvatureScale</a>() * normal);</div><div class="line"><a name="l00113"></a><span class="lineno">  113</span>&#160;                    parray2.push_back(p2);</div><div class="line"><a name="l00114"></a><span class="lineno">  114</span>&#160;                }</div><div class="line"><a name="l00115"></a><span class="lineno">  115</span>&#160;                <span class="keywordflow">for</span> (<span class="keywordtype">size_t</span> j=1; j&lt;=fragm; j++) {</div><div class="line"><a name="l00116"></a><span class="lineno">  116</span>&#160;                    <span class="keywordflow">if</span> ((j % 4) == 0 || j == 1 || j == fragm) {</div><div class="line"><a name="l00117"></a><span class="lineno">  117</span>&#160;                        vertices &lt;&lt; parray1[j-1];</div><div class="line"><a name="l00118"></a><span class="lineno">  118</span>&#160;                        vertices &lt;&lt; parray2[j-1];</div><div class="line"><a name="l00119"></a><span class="lineno">  119</span>&#160;                    }</div><div class="line"><a name="l00120"></a><span class="lineno">  120</span>&#160;                }</div><div class="line"><a name="l00121"></a><span class="lineno">  121</span>&#160;                <span class="keywordflow">for</span> (<span class="keywordtype">size_t</span> j=1; j&lt;parray2.size(); j++) {</div><div class="line"><a name="l00122"></a><span class="lineno">  122</span>&#160;                    vertices &lt;&lt; parray2[j-1];</div><div class="line"><a name="l00123"></a><span class="lineno">  123</span>&#160;                    vertices &lt;&lt; parray2[j];</div><div class="line"><a name="l00124"></a><span class="lineno">  124</span>&#160;                }</div><div class="line"><a name="l00125"></a><span class="lineno">  125</span>&#160;                glLineWidth(1);</div><div class="line"><a name="l00126"></a><span class="lineno">  126</span>&#160;                lineshader-&gt;<a class="code" href="classShipCAD_1_1LineShader.html#a3d30bda1883e0eda65ea23c4da76f610">renderLines</a>(vertices, <a class="code" href="classShipCAD_1_1Spline.html#a788c76b36b091f3d5b92c9cde414cb89">getCurvatureColor</a>());</div><div class="line"><a name="l00127"></a><span class="lineno">  127</span>&#160;            } <span class="keywordflow">else</span> { <span class="comment">// end show curvature</span></div><div class="line"><a name="l00128"></a><span class="lineno">  128</span>&#160;                <span class="keywordflow">for</span> (<span class="keywordtype">size_t</span> j=1; j&lt;parray1.size(); j++) {</div><div class="line"><a name="l00129"></a><span class="lineno">  129</span>&#160;                    vertices &lt;&lt; parray1[j-1];</div><div class="line"><a name="l00130"></a><span class="lineno">  130</span>&#160;                    vertices &lt;&lt; parray1[j];</div><div class="line"><a name="l00131"></a><span class="lineno">  131</span>&#160;                }</div><div class="line"><a name="l00132"></a><span class="lineno">  132</span>&#160;                glLineWidth(1);</div><div class="line"><a name="l00133"></a><span class="lineno">  133</span>&#160;                lineshader-&gt;<a class="code" href="classShipCAD_1_1LineShader.html#a3d30bda1883e0eda65ea23c4da76f610">renderLines</a>(vertices, <a class="code" href="classShipCAD_1_1Entity.html#a747f437fa410f5b8b6251967fd3a90aa">getColor</a>());</div><div class="line"><a name="l00134"></a><span class="lineno">  134</span>&#160;            }</div><div class="line"><a name="l00135"></a><span class="lineno">  135</span>&#160;        }</div><div class="line"><a name="l00136"></a><span class="lineno">  136</span>&#160;        vertices.clear();</div><div class="line"><a name="l00137"></a><span class="lineno">  137</span>&#160;        <span class="keywordflow">for</span> (<span class="keywordtype">size_t</span> i=0; i&lt;<a class="code" href="classShipCAD_1_1Spline.html#aa15d52dbfa55ec3b1ec272104a45ebd5">numberOfPoints</a>(); i++) {</div><div class="line"><a name="l00138"></a><span class="lineno">  138</span>&#160;            p3d = <a class="code" href="classShipCAD_1_1Spline.html#a04a94537b420a8d19dc5f78526e9a825">getPoint</a>(i);</div><div class="line"><a name="l00139"></a><span class="lineno">  139</span>&#160;            <span class="keywordflow">if</span> (p3d.x() &lt; _owner-&gt;<a class="code" href="classShipCAD_1_1ShipCADModel.html#a94a8eed8ac8ff4ad8287a0a1113e3271">getProjectSettings</a>().<a class="code" href="classShipCAD_1_1ProjectSettings.html#a194fe12f81ed80e691e8a89c88d91a0b">getMainframeLocation</a>())</div><div class="line"><a name="l00140"></a><span class="lineno">  140</span>&#160;                p3d.setY(-p3d.y());</div><div class="line"><a name="l00141"></a><span class="lineno">  141</span>&#160;            vertices &lt;&lt; p3d;</div><div class="line"><a name="l00142"></a><span class="lineno">  142</span>&#160;        }</div><div class="line"><a name="l00143"></a><span class="lineno">  143</span>&#160;        glPointSize(3);</div><div class="line"><a name="l00144"></a><span class="lineno">  144</span>&#160;        lineshader-&gt;<a class="code" href="classShipCAD_1_1LineShader.html#aaa105117e559ec413a733e14dc638b5a">renderPoints</a>(vertices, <a class="code" href="classShipCAD_1_1Entity.html#a747f437fa410f5b8b6251967fd3a90aa">getColor</a>());</div><div class="line"><a name="l00145"></a><span class="lineno">  145</span>&#160;    } <span class="keywordflow">else</span> { <span class="comment">// end bodyplan</span></div><div class="line"><a name="l00146"></a><span class="lineno">  146</span>&#160;        <a class="code" href="classShipCAD_1_1Spline.html#a6424ed433d241f566c15891cc25a74dd">Spline::draw</a>(vp, lineshader);</div><div class="line"><a name="l00147"></a><span class="lineno">  147</span>&#160;        <span class="keywordflow">for</span> (<span class="keywordtype">size_t</span> i=0; i&lt;<a class="code" href="classShipCAD_1_1Spline.html#aa15d52dbfa55ec3b1ec272104a45ebd5">numberOfPoints</a>(); i++) {</div><div class="line"><a name="l00148"></a><span class="lineno">  148</span>&#160;            vertices &lt;&lt; <a class="code" href="classShipCAD_1_1Spline.html#a04a94537b420a8d19dc5f78526e9a825">getPoint</a>(i);</div><div class="line"><a name="l00149"></a><span class="lineno">  149</span>&#160;        }</div><div class="line"><a name="l00150"></a><span class="lineno">  150</span>&#160;        glPointSize(3);</div><div class="line"><a name="l00151"></a><span class="lineno">  151</span>&#160;        lineshader-&gt;<a class="code" href="classShipCAD_1_1LineShader.html#aaa105117e559ec413a733e14dc638b5a">renderPoints</a>(vertices, <a class="code" href="classShipCAD_1_1Entity.html#a747f437fa410f5b8b6251967fd3a90aa">getColor</a>());</div><div class="line"><a name="l00152"></a><span class="lineno">  152</span>&#160;    }</div><div class="line"><a name="l00153"></a><span class="lineno">  153</span>&#160;}</div><div class="line"><a name="l00154"></a><span class="lineno">  154</span>&#160;</div><div class="line"><a name="l00155"></a><span class="lineno"><a class="line" href="classShipCAD_1_1Marker.html#ab7beb66cda8917ec7bfbc833f9b71071">  155</a></span>&#160;<span class="keywordtype">bool</span> <a class="code" href="classShipCAD_1_1Marker.html#ab7beb66cda8917ec7bfbc833f9b71071">Marker::isSelected</a>()<span class="keyword"> const</span></div><div class="line"><a name="l00156"></a><span class="lineno">  156</span>&#160;<span class="keyword"></span>{</div><div class="line"><a name="l00157"></a><span class="lineno">  157</span>&#160;    <span class="keywordflow">return</span> _owner-&gt;<a class="code" href="classShipCAD_1_1ShipCADModel.html#ac7aabd58923105ec36b27d44d747aa42">isSelectedMarker</a>(const_cast&lt;Marker*&gt;(<span class="keyword">this</span>));</div><div class="line"><a name="l00158"></a><span class="lineno">  158</span>&#160;}</div><div class="line"><a name="l00159"></a><span class="lineno">  159</span>&#160;</div><div class="line"><a name="l00160"></a><span class="lineno"><a class="line" href="classShipCAD_1_1Marker.html#ad3bbb4a01e11e3d2885f56599a77a3d1">  160</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="classShipCAD_1_1Marker.html#ad3bbb4a01e11e3d2885f56599a77a3d1">Marker::setSelected</a>(<span class="keywordtype">bool</span> <span class="keyword">set</span>)</div><div class="line"><a name="l00161"></a><span class="lineno">  161</span>&#160;{</div><div class="line"><a name="l00162"></a><span class="lineno">  162</span>&#160;    <span class="keywordflow">if</span> (<span class="keyword">set</span>)</div><div class="line"><a name="l00163"></a><span class="lineno">  163</span>&#160;        _owner-&gt;<a class="code" href="classShipCAD_1_1ShipCADModel.html#afd7e984f4070d08cb16264c1b731580f">setSelectedMarker</a>(<span class="keyword">this</span>);</div><div class="line"><a name="l00164"></a><span class="lineno">  164</span>&#160;    <span class="keywordflow">else</span></div><div class="line"><a name="l00165"></a><span class="lineno">  165</span>&#160;        _owner-&gt;<a class="code" href="classShipCAD_1_1ShipCADModel.html#a7fb06b0a1fa75ef02597752fc3f691a2">removeSelectedMarker</a>(<span class="keyword">this</span>);</div><div class="line"><a name="l00166"></a><span class="lineno">  166</span>&#160;}</div><div class="line"><a name="l00167"></a><span class="lineno">  167</span>&#160;</div><div class="line"><a name="l00168"></a><span class="lineno"><a class="line" href="classShipCAD_1_1Marker.html#a0f2aa7cd6bae40784c077b89d5ebdb50">  168</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="classShipCAD_1_1Marker.html#a0f2aa7cd6bae40784c077b89d5ebdb50">Marker::loadBinary</a>(<a class="code" href="classShipCAD_1_1FileBuffer.html">FileBuffer</a>&amp; source)</div><div class="line"><a name="l00169"></a><span class="lineno">  169</span>&#160;{</div><div class="line"><a name="l00170"></a><span class="lineno">  170</span>&#160;    source.<a class="code" href="classShipCAD_1_1FileBuffer.html#a86223c54bcf111ef205c9d651e0b9a66">load</a>(_visible);</div><div class="line"><a name="l00171"></a><span class="lineno">  171</span>&#160;    <span class="keywordflow">if</span> (_owner-&gt;<a class="code" href="classShipCAD_1_1ShipCADModel.html#a837f41ecb002cd0e197d365edbef3d52">getFileVersion</a>() &gt;= <a class="code" href="namespaceShipCAD.html#af3a6fa23a7318acbda7b0066b53d694fa3e815680f28b362a51b70712e376e7d7">fv260</a>) {</div><div class="line"><a name="l00172"></a><span class="lineno">  172</span>&#160;        <span class="keywordtype">bool</span> sel;</div><div class="line"><a name="l00173"></a><span class="lineno">  173</span>&#160;        source.<a class="code" href="classShipCAD_1_1FileBuffer.html#a86223c54bcf111ef205c9d651e0b9a66">load</a>(sel);</div><div class="line"><a name="l00174"></a><span class="lineno">  174</span>&#160;        <span class="keywordflow">if</span> (sel)</div><div class="line"><a name="l00175"></a><span class="lineno">  175</span>&#160;            _owner-&gt;<a class="code" href="classShipCAD_1_1ShipCADModel.html#afd7e984f4070d08cb16264c1b731580f">setSelectedMarker</a>(<span class="keyword">this</span>);</div><div class="line"><a name="l00176"></a><span class="lineno">  176</span>&#160;    }</div><div class="line"><a name="l00177"></a><span class="lineno">  177</span>&#160;    <a class="code" href="classShipCAD_1_1Spline.html#ae90c8807fb8058d6309f47db64e2d40e">Spline::loadBinary</a>(source);</div><div class="line"><a name="l00178"></a><span class="lineno">  178</span>&#160;}</div><div class="line"><a name="l00179"></a><span class="lineno">  179</span>&#160;</div><div class="line"><a name="l00180"></a><span class="lineno"><a class="line" href="classShipCAD_1_1Marker.html#abceb4cbb5b038eb88d0f7f26507be15c">  180</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="classShipCAD_1_1Marker.html#abceb4cbb5b038eb88d0f7f26507be15c">Marker::saveBinary</a>(<a class="code" href="classShipCAD_1_1FileBuffer.html">FileBuffer</a>&amp; dest)</div><div class="line"><a name="l00181"></a><span class="lineno">  181</span>&#160;{</div><div class="line"><a name="l00182"></a><span class="lineno">  182</span>&#160;    dest.<a class="code" href="classShipCAD_1_1FileBuffer.html#a9a5d46b2c6d568ee2cdef110d4773e73">add</a>(_visible);</div><div class="line"><a name="l00183"></a><span class="lineno">  183</span>&#160;    <span class="keywordflow">if</span> (_owner-&gt;<a class="code" href="classShipCAD_1_1ShipCADModel.html#a837f41ecb002cd0e197d365edbef3d52">getFileVersion</a>() &gt;= <a class="code" href="namespaceShipCAD.html#af3a6fa23a7318acbda7b0066b53d694fa3e815680f28b362a51b70712e376e7d7">fv260</a>) {</div><div class="line"><a name="l00184"></a><span class="lineno">  184</span>&#160;        dest.<a class="code" href="classShipCAD_1_1FileBuffer.html#a9a5d46b2c6d568ee2cdef110d4773e73">add</a>(<a class="code" href="classShipCAD_1_1Marker.html#ab7beb66cda8917ec7bfbc833f9b71071">isSelected</a>());</div><div class="line"><a name="l00185"></a><span class="lineno">  185</span>&#160;    }</div><div class="line"><a name="l00186"></a><span class="lineno">  186</span>&#160;    <a class="code" href="classShipCAD_1_1Spline.html#a5abb8df513d25abe8b0ec000a7926a66">Spline::saveBinary</a>(dest);</div><div class="line"><a name="l00187"></a><span class="lineno">  187</span>&#160;}</div><div class="line"><a name="l00188"></a><span class="lineno">  188</span>&#160;</div><div class="line"><a name="l00189"></a><span class="lineno"><a class="line" href="classShipCAD_1_1Marker.html#a65736e4307c4a0f0ca6b1a2e1f51b556">  189</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="classShipCAD_1_1Marker.html#a65736e4307c4a0f0ca6b1a2e1f51b556">Marker::loadFromText</a>(<a class="code" href="classShipCAD_1_1ShipCADModel.html">ShipCADModel</a>* model, QTextStream&amp; file, <a class="code" href="classPointerVector.html">MarkerVector</a>&amp; markers)</div><div class="line"><a name="l00190"></a><span class="lineno">  190</span>&#160;{</div><div class="line"><a name="l00191"></a><span class="lineno">  191</span>&#160;    <span class="keywordtype">size_t</span> lineno = 0;</div><div class="line"><a name="l00192"></a><span class="lineno">  192</span>&#160;    <span class="keywordtype">bool</span> unexpected = <span class="keyword">false</span>;</div><div class="line"><a name="l00193"></a><span class="lineno">  193</span>&#160;    <a class="code" href="classShipCAD_1_1Marker.html">Marker</a>* marker = <span class="keyword">nullptr</span>;</div><div class="line"><a name="l00194"></a><span class="lineno">  194</span>&#160;    <span class="keywordflow">while</span> (!unexpected &amp;&amp; !file.atEnd()) {</div><div class="line"><a name="l00195"></a><span class="lineno">  195</span>&#160;        QString line = file.readLine();</div><div class="line"><a name="l00196"></a><span class="lineno">  196</span>&#160;        lineno++;</div><div class="line"><a name="l00197"></a><span class="lineno">  197</span>&#160;        <span class="comment">// if an empty line, complete the marker</span></div><div class="line"><a name="l00198"></a><span class="lineno">  198</span>&#160;        <span class="comment">// and get ready for more</span></div><div class="line"><a name="l00199"></a><span class="lineno">  199</span>&#160;        <span class="keywordflow">if</span> (line.size() == 0 &amp;&amp; marker != <span class="keyword">nullptr</span>) {</div><div class="line"><a name="l00200"></a><span class="lineno">  200</span>&#160;            <span class="keywordflow">if</span> (marker-&gt;<a class="code" href="classShipCAD_1_1Spline.html#aa15d52dbfa55ec3b1ec272104a45ebd5">numberOfPoints</a>() &gt; 1) {</div><div class="line"><a name="l00201"></a><span class="lineno">  201</span>&#160;                markers.<a class="code" href="classPointerVector.html#abaee9f77dee6ea2523dff64b184c9f54">add</a>(marker);</div><div class="line"><a name="l00202"></a><span class="lineno">  202</span>&#160;            } <span class="keywordflow">else</span> {</div><div class="line"><a name="l00203"></a><span class="lineno">  203</span>&#160;                <span class="keyword">delete</span> marker;</div><div class="line"><a name="l00204"></a><span class="lineno">  204</span>&#160;            }</div><div class="line"><a name="l00205"></a><span class="lineno">  205</span>&#160;            marker = <span class="keyword">nullptr</span>;</div><div class="line"><a name="l00206"></a><span class="lineno">  206</span>&#160;            <span class="keywordflow">continue</span>;</div><div class="line"><a name="l00207"></a><span class="lineno">  207</span>&#160;        }</div><div class="line"><a name="l00208"></a><span class="lineno">  208</span>&#160;        <span class="keywordflow">if</span> (line == <span class="stringliteral">&quot;EOF&quot;</span>)</div><div class="line"><a name="l00209"></a><span class="lineno">  209</span>&#160;            <span class="keywordflow">break</span>;</div><div class="line"><a name="l00210"></a><span class="lineno">  210</span>&#160;        <span class="comment">// split the line</span></div><div class="line"><a name="l00211"></a><span class="lineno">  211</span>&#160;        QStringList fields = line.split(<span class="stringliteral">&quot; &quot;</span>);</div><div class="line"><a name="l00212"></a><span class="lineno">  212</span>&#160;        <span class="keywordflow">if</span> (fields.size() != 3) {</div><div class="line"><a name="l00213"></a><span class="lineno">  213</span>&#160;            <span class="comment">// try tabs</span></div><div class="line"><a name="l00214"></a><span class="lineno">  214</span>&#160;            fields = line.split(<span class="stringliteral">&quot;\t&quot;</span>);</div><div class="line"><a name="l00215"></a><span class="lineno">  215</span>&#160;            <span class="keywordflow">if</span> (fields.size() != 3) {</div><div class="line"><a name="l00216"></a><span class="lineno">  216</span>&#160;                unexpected = <span class="keyword">true</span>;</div><div class="line"><a name="l00217"></a><span class="lineno">  217</span>&#160;                <span class="keywordflow">continue</span>;</div><div class="line"><a name="l00218"></a><span class="lineno">  218</span>&#160;            }</div><div class="line"><a name="l00219"></a><span class="lineno">  219</span>&#160;        }</div><div class="line"><a name="l00220"></a><span class="lineno">  220</span>&#160;        <span class="comment">// we have 3 pieces, turn it into a point</span></div><div class="line"><a name="l00221"></a><span class="lineno">  221</span>&#160;        <span class="keywordtype">bool</span> ok;</div><div class="line"><a name="l00222"></a><span class="lineno">  222</span>&#160;        <span class="keywordtype">float</span> x = fields[0].toFloat(&amp;ok);</div><div class="line"><a name="l00223"></a><span class="lineno">  223</span>&#160;        <span class="keywordflow">if</span> (!ok) {</div><div class="line"><a name="l00224"></a><span class="lineno">  224</span>&#160;            unexpected = <span class="keyword">true</span>;</div><div class="line"><a name="l00225"></a><span class="lineno">  225</span>&#160;            <span class="keywordflow">continue</span>;</div><div class="line"><a name="l00226"></a><span class="lineno">  226</span>&#160;        }</div><div class="line"><a name="l00227"></a><span class="lineno">  227</span>&#160;        <span class="keywordtype">float</span> y = fields[1].toFloat(&amp;ok);</div><div class="line"><a name="l00228"></a><span class="lineno">  228</span>&#160;        <span class="keywordflow">if</span> (!ok) {</div><div class="line"><a name="l00229"></a><span class="lineno">  229</span>&#160;            unexpected = <span class="keyword">true</span>;</div><div class="line"><a name="l00230"></a><span class="lineno">  230</span>&#160;            <span class="keywordflow">continue</span>;</div><div class="line"><a name="l00231"></a><span class="lineno">  231</span>&#160;        }</div><div class="line"><a name="l00232"></a><span class="lineno">  232</span>&#160;        <span class="keywordtype">float</span> z = fields[2].toFloat(&amp;ok);</div><div class="line"><a name="l00233"></a><span class="lineno">  233</span>&#160;        <span class="keywordflow">if</span> (!ok) {</div><div class="line"><a name="l00234"></a><span class="lineno">  234</span>&#160;            unexpected = <span class="keyword">true</span>;</div><div class="line"><a name="l00235"></a><span class="lineno">  235</span>&#160;            <span class="keywordflow">continue</span>;</div><div class="line"><a name="l00236"></a><span class="lineno">  236</span>&#160;        }</div><div class="line"><a name="l00237"></a><span class="lineno">  237</span>&#160;        <span class="comment">// add the point to the marker</span></div><div class="line"><a name="l00238"></a><span class="lineno">  238</span>&#160;        QVector3D pt(x, y, z);</div><div class="line"><a name="l00239"></a><span class="lineno">  239</span>&#160;        <span class="keywordflow">if</span> (marker == <span class="keyword">nullptr</span>) {</div><div class="line"><a name="l00240"></a><span class="lineno">  240</span>&#160;            marker = <a class="code" href="classShipCAD_1_1Marker.html#af505b0f8f0aa9049fd65a7f9b675abbc">Marker::construct</a>(model);</div><div class="line"><a name="l00241"></a><span class="lineno">  241</span>&#160;        }</div><div class="line"><a name="l00242"></a><span class="lineno">  242</span>&#160;        marker-&gt;<a class="code" href="classShipCAD_1_1Spline.html#ac3d9f4514573be91b316413bf062791a">add</a>(pt);</div><div class="line"><a name="l00243"></a><span class="lineno">  243</span>&#160;    }</div><div class="line"><a name="l00244"></a><span class="lineno">  244</span>&#160;    <span class="comment">// complete the last marker</span></div><div class="line"><a name="l00245"></a><span class="lineno">  245</span>&#160;    <span class="keywordflow">if</span> (!unexpected &amp;&amp; marker != <span class="keyword">nullptr</span>) {</div><div class="line"><a name="l00246"></a><span class="lineno">  246</span>&#160;        <span class="keywordflow">if</span> (marker-&gt;<a class="code" href="classShipCAD_1_1Spline.html#aa15d52dbfa55ec3b1ec272104a45ebd5">numberOfPoints</a>() &gt; 1) {</div><div class="line"><a name="l00247"></a><span class="lineno">  247</span>&#160;            markers.<a class="code" href="classPointerVector.html#abaee9f77dee6ea2523dff64b184c9f54">add</a>(marker);</div><div class="line"><a name="l00248"></a><span class="lineno">  248</span>&#160;        } <span class="keywordflow">else</span></div><div class="line"><a name="l00249"></a><span class="lineno">  249</span>&#160;            <span class="keyword">delete</span> marker;</div><div class="line"><a name="l00250"></a><span class="lineno">  250</span>&#160;    }</div><div class="line"><a name="l00251"></a><span class="lineno">  251</span>&#160;    <span class="comment">// got something wrong, bail</span></div><div class="line"><a name="l00252"></a><span class="lineno">  252</span>&#160;    <span class="keywordflow">if</span> (unexpected) {</div><div class="line"><a name="l00253"></a><span class="lineno">  253</span>&#160;        <span class="keywordflow">throw</span> <a class="code" href="classShipCAD_1_1ParseError.html">ParseError</a>(lineno, <span class="stringliteral">&quot;&quot;</span>);</div><div class="line"><a name="l00254"></a><span class="lineno">  254</span>&#160;    }</div><div class="line"><a name="l00255"></a><span class="lineno">  255</span>&#160;}</div><div class="line"><a name="l00256"></a><span class="lineno">  256</span>&#160;</div><div class="ttc" id="classShipCAD_1_1Viewport_html_a5f261a1925f09917013e8e532688326a"><div class="ttname"><a href="classShipCAD_1_1Viewport.html#a5f261a1925f09917013e8e532688326a">ShipCAD::Viewport::getViewportType</a></div><div class="ttdeci">viewport_type_t getViewportType() const </div><div class="ttdef"><b>Definition:</b> <a href="viewport_8h_source.html#l00097">viewport.h:97</a></div></div>
<div class="ttc" id="classShipCAD_1_1Marker_html_ac7c7eea8648562f3fa00a9e10af6ec97"><div class="ttname"><a href="classShipCAD_1_1Marker.html#ac7c7eea8648562f3fa00a9e10af6ec97">ShipCAD::Marker::clear</a></div><div class="ttdeci">virtual void clear()</div><div class="ttdef"><b>Definition:</b> <a href="marker_8cpp_source.html#l00057">marker.cpp:57</a></div></div>
<div class="ttc" id="classShipCAD_1_1Spline_html_a04a94537b420a8d19dc5f78526e9a825"><div class="ttname"><a href="classShipCAD_1_1Spline.html#a04a94537b420a8d19dc5f78526e9a825">ShipCAD::Spline::getPoint</a></div><div class="ttdeci">QVector3D getPoint(size_t index) const </div><div class="ttdef"><b>Definition:</b> <a href="spline_8h_source.html#l00144">spline.h:144</a></div></div>
<div class="ttc" id="classShipCAD_1_1Spline_html_ac3d9f4514573be91b316413bf062791a"><div class="ttname"><a href="classShipCAD_1_1Spline.html#ac3d9f4514573be91b316413bf062791a">ShipCAD::Spline::add</a></div><div class="ttdeci">void add(const QVector3D &amp;p)</div><div class="ttdoc">add a point to the spline </div><div class="ttdef"><b>Definition:</b> <a href="spline_8cpp_source.html#l00371">spline.cpp:371</a></div></div>
<div class="ttc" id="classShipCAD_1_1Marker_html_a65736e4307c4a0f0ca6b1a2e1f51b556"><div class="ttname"><a href="classShipCAD_1_1Marker.html#a65736e4307c4a0f0ca6b1a2e1f51b556">ShipCAD::Marker::loadFromText</a></div><div class="ttdeci">static void loadFromText(ShipCADModel *model, QTextStream &amp;file, PointerVector&lt; Marker &gt; &amp;markers)</div><div class="ttdef"><b>Definition:</b> <a href="marker_8cpp_source.html#l00189">marker.cpp:189</a></div></div>
<div class="ttc" id="namespaceShipCAD_html_aeeeb05810f2e31ef89fd4ac6b6ba9c0aa1bc519e3e41c233dd8e94c40af1fd36d"><div class="ttname"><a href="namespaceShipCAD.html#aeeeb05810f2e31ef89fd4ac6b6ba9c0aa1bc519e3e41c233dd8e94c40af1fd36d">ShipCAD::fvBodyplan</a></div><div class="ttdef"><b>Definition:</b> <a href="shipcadlib_8h_source.html#l00071">shipcadlib.h:71</a></div></div>
<div class="ttc" id="classShipCAD_1_1Spline_html_ae90c8807fb8058d6309f47db64e2d40e"><div class="ttname"><a href="classShipCAD_1_1Spline.html#ae90c8807fb8058d6309f47db64e2d40e">ShipCAD::Spline::loadBinary</a></div><div class="ttdeci">void loadBinary(FileBuffer &amp;source)</div><div class="ttdef"><b>Definition:</b> <a href="spline_8cpp_source.html#l00709">spline.cpp:709</a></div></div>
<div class="ttc" id="spline_8h_html"><div class="ttname"><a href="spline_8h.html">spline.h</a></div></div>
<div class="ttc" id="classShipCAD_1_1FileBuffer_html_a9a5d46b2c6d568ee2cdef110d4773e73"><div class="ttname"><a href="classShipCAD_1_1FileBuffer.html#a9a5d46b2c6d568ee2cdef110d4773e73">ShipCAD::FileBuffer::add</a></div><div class="ttdeci">void add(const JPEGImage &amp;img)</div><div class="ttdef"><b>Definition:</b> <a href="filebuffer_8cpp_source.html#l00108">filebuffer.cpp:108</a></div></div>
<div class="ttc" id="classShipCAD_1_1ShipCADModel_html_aa6af8872deba5b401ac575a85901a265"><div class="ttname"><a href="classShipCAD_1_1ShipCADModel.html#aa6af8872deba5b401ac575a85901a265">ShipCAD::ShipCADModel::getPreferences</a></div><div class="ttdeci">Preferences &amp; getPreferences()</div><div class="ttdef"><b>Definition:</b> <a href="shipcadmodel_8h_source.html#l00077">shipcadmodel.h:77</a></div></div>
<div class="ttc" id="classShipCAD_1_1IntersectionData_html"><div class="ttname"><a href="classShipCAD_1_1IntersectionData.html">ShipCAD::IntersectionData</a></div><div class="ttdoc">Record of geometry intersections. </div><div class="ttdef"><b>Definition:</b> <a href="entity_8h_source.html#l00049">entity.h:49</a></div></div>
<div class="ttc" id="classShipCAD_1_1ShipCADModel_html_a50cca4c783baeba58c8068c9b8a5d6a4"><div class="ttname"><a href="classShipCAD_1_1ShipCADModel.html#a50cca4c783baeba58c8068c9b8a5d6a4">ShipCAD::ShipCADModel::getVisibility</a></div><div class="ttdeci">Visibility &amp; getVisibility()</div><div class="ttdef"><b>Definition:</b> <a href="shipcadmodel_8h_source.html#l00074">shipcadmodel.h:74</a></div></div>
<div class="ttc" id="namespacestd_html"><div class="ttname"><a href="namespacestd.html">std</a></div><div class="ttdoc">STL namespace. </div></div>
<div class="ttc" id="namespaceShipCAD_html_af3a6fa23a7318acbda7b0066b53d694fa3e815680f28b362a51b70712e376e7d7"><div class="ttname"><a href="namespaceShipCAD.html#af3a6fa23a7318acbda7b0066b53d694fa3e815680f28b362a51b70712e376e7d7">ShipCAD::fv260</a></div><div class="ttdef"><b>Definition:</b> <a href="version_8h_source.html#l00061">version.h:61</a></div></div>
<div class="ttc" id="viewport_8h_html"><div class="ttname"><a href="viewport_8h.html">viewport.h</a></div></div>
<div class="ttc" id="classShipCAD_1_1Spline_html_a6424ed433d241f566c15891cc25a74dd"><div class="ttname"><a href="classShipCAD_1_1Spline.html#a6424ed433d241f566c15891cc25a74dd">ShipCAD::Spline::draw</a></div><div class="ttdeci">virtual void draw(Viewport &amp;vp, LineShader *lineshader)</div><div class="ttdef"><b>Definition:</b> <a href="spline_8cpp_source.html#l00507">spline.cpp:507</a></div></div>
<div class="ttc" id="classShipCAD_1_1Spline_html_aa62cf7afa6461bafce7227ec31875219"><div class="ttname"><a href="classShipCAD_1_1Spline.html#aa62cf7afa6461bafce7227ec31875219">ShipCAD::Spline::value</a></div><div class="ttdeci">QVector3D value(float parameter) const </div><div class="ttdef"><b>Definition:</b> <a href="spline_8cpp_source.html#l00806">spline.cpp:806</a></div></div>
<div class="ttc" id="classShipCAD_1_1Marker_html_ad3bbb4a01e11e3d2885f56599a77a3d1"><div class="ttname"><a href="classShipCAD_1_1Marker.html#ad3bbb4a01e11e3d2885f56599a77a3d1">ShipCAD::Marker::setSelected</a></div><div class="ttdeci">void setSelected(bool set)</div><div class="ttdef"><b>Definition:</b> <a href="marker_8cpp_source.html#l00160">marker.cpp:160</a></div></div>
<div class="ttc" id="exception_8h_html"><div class="ttname"><a href="exception_8h.html">exception.h</a></div></div>
<div class="ttc" id="classShipCAD_1_1Spline_html_aa15d52dbfa55ec3b1ec272104a45ebd5"><div class="ttname"><a href="classShipCAD_1_1Spline.html#aa15d52dbfa55ec3b1ec272104a45ebd5">ShipCAD::Spline::numberOfPoints</a></div><div class="ttdeci">size_t numberOfPoints() const </div><div class="ttdef"><b>Definition:</b> <a href="spline_8h_source.html#l00157">spline.h:157</a></div></div>
<div class="ttc" id="classShipCAD_1_1Marker_html_abceb4cbb5b038eb88d0f7f26507be15c"><div class="ttname"><a href="classShipCAD_1_1Marker.html#abceb4cbb5b038eb88d0f7f26507be15c">ShipCAD::Marker::saveBinary</a></div><div class="ttdeci">void saveBinary(FileBuffer &amp;dest)</div><div class="ttdef"><b>Definition:</b> <a href="marker_8cpp_source.html#l00180">marker.cpp:180</a></div></div>
<div class="ttc" id="classShipCAD_1_1Preferences_html_af54f177e516849e7f8212841db9b1ed8"><div class="ttname"><a href="classShipCAD_1_1Preferences.html#af54f177e516849e7f8212841db9b1ed8">ShipCAD::Preferences::getSelectColor</a></div><div class="ttdeci">QColor getSelectColor() const </div><div class="ttdef"><b>Definition:</b> <a href="preferences_8h_source.html#l00109">preferences.h:109</a></div></div>
<div class="ttc" id="classShipCAD_1_1LineShader_html_aaa105117e559ec413a733e14dc638b5a"><div class="ttname"><a href="classShipCAD_1_1LineShader.html#aaa105117e559ec413a733e14dc638b5a">ShipCAD::LineShader::renderPoints</a></div><div class="ttdeci">void renderPoints(QVector&lt; QVector3D &gt; &amp;points, QColor color)</div><div class="ttdef"><b>Definition:</b> <a href="shader_8cpp_source.html#l00127">shader.cpp:127</a></div></div>
<div class="ttc" id="classShipCAD_1_1LineShader_html_a68f7433ac957df5b454eb1440ad1c7d9"><div class="ttname"><a href="classShipCAD_1_1LineShader.html#a68f7433ac957df5b454eb1440ad1c7d9">ShipCAD::LineShader::getVertexBuffer</a></div><div class="ttdeci">QVector&lt; QVector3D &gt; &amp; getVertexBuffer()</div><div class="ttdef"><b>Definition:</b> <a href="shader_8cpp_source.html#l00159">shader.cpp:159</a></div></div>
<div class="ttc" id="classShipCAD_1_1Marker_html_a505a790bb39356858ecf59513a76ec95"><div class="ttname"><a href="classShipCAD_1_1Marker.html#a505a790bb39356858ecf59513a76ec95">ShipCAD::Marker::isVisible</a></div><div class="ttdeci">bool isVisible() const </div><div class="ttdef"><b>Definition:</b> <a href="marker_8h_source.html#l00062">marker.h:62</a></div></div>
<div class="ttc" id="classShipCAD_1_1Viewport_html"><div class="ttname"><a href="classShipCAD_1_1Viewport.html">ShipCAD::Viewport</a></div><div class="ttdef"><b>Definition:</b> <a href="viewport_8h_source.html#l00070">viewport.h:70</a></div></div>
<div class="ttc" id="filebuffer_8h_html"><div class="ttname"><a href="filebuffer_8h.html">filebuffer.h</a></div></div>
<div class="ttc" id="shader_8h_html"><div class="ttname"><a href="shader_8h.html">shader.h</a></div></div>
<div class="ttc" id="classShipCAD_1_1Spline_html_aaae6e558fad0833cde71f9ed38e4fb96"><div class="ttname"><a href="classShipCAD_1_1Spline.html#aaae6e558fad0833cde71f9ed38e4fb96">ShipCAD::Spline::setFragments</a></div><div class="ttdeci">void setFragments(size_t val)</div><div class="ttdef"><b>Definition:</b> <a href="spline_8cpp_source.html#l00084">spline.cpp:84</a></div></div>
<div class="ttc" id="classShipCAD_1_1ParseError_html"><div class="ttname"><a href="classShipCAD_1_1ParseError.html">ShipCAD::ParseError</a></div><div class="ttdef"><b>Definition:</b> <a href="exception_8h_source.html#l00039">exception.h:39</a></div></div>
<div class="ttc" id="classPointerVector_html"><div class="ttname"><a href="classPointerVector.html">PointerVector&lt; Marker &gt;</a></div></div>
<div class="ttc" id="classShipCAD_1_1FileBuffer_html_a86223c54bcf111ef205c9d651e0b9a66"><div class="ttname"><a href="classShipCAD_1_1FileBuffer.html#a86223c54bcf111ef205c9d651e0b9a66">ShipCAD::FileBuffer::load</a></div><div class="ttdeci">void load(JPEGImage &amp;img)</div><div class="ttdef"><b>Definition:</b> <a href="filebuffer_8cpp_source.html#l00096">filebuffer.cpp:96</a></div></div>
<div class="ttc" id="classShipCAD_1_1ShipCADModel_html_ac7aabd58923105ec36b27d44d747aa42"><div class="ttname"><a href="classShipCAD_1_1ShipCADModel.html#ac7aabd58923105ec36b27d44d747aa42">ShipCAD::ShipCADModel::isSelectedMarker</a></div><div class="ttdeci">bool isSelectedMarker(Marker *mark) const </div><div class="ttdef"><b>Definition:</b> <a href="shipcadmodel_8cpp_source.html#l01094">shipcadmodel.cpp:1094</a></div></div>
<div class="ttc" id="classShipCAD_1_1Spline_html_a788c76b36b091f3d5b92c9cde414cb89"><div class="ttname"><a href="classShipCAD_1_1Spline.html#a788c76b36b091f3d5b92c9cde414cb89">ShipCAD::Spline::getCurvatureColor</a></div><div class="ttdeci">QColor getCurvatureColor() const </div><div class="ttdef"><b>Definition:</b> <a href="spline_8h_source.html#l00135">spline.h:135</a></div></div>
<div class="ttc" id="classShipCAD_1_1LineShader_html_a3d30bda1883e0eda65ea23c4da76f610"><div class="ttname"><a href="classShipCAD_1_1LineShader.html#a3d30bda1883e0eda65ea23c4da76f610">ShipCAD::LineShader::renderLines</a></div><div class="ttdeci">void renderLines(QVector&lt; QVector3D &gt; &amp;vertices, QColor lineColor)</div><div class="ttdef"><b>Definition:</b> <a href="shader_8cpp_source.html#l00143">shader.cpp:143</a></div></div>
<div class="ttc" id="classShipCAD_1_1Preferences_html_a79f08737b96acb62b538feb347e2addf"><div class="ttname"><a href="classShipCAD_1_1Preferences.html#a79f08737b96acb62b538feb347e2addf">ShipCAD::Preferences::getMarkerColor</a></div><div class="ttdeci">QColor getMarkerColor() const </div><div class="ttdef"><b>Definition:</b> <a href="preferences_8h_source.html#l00123">preferences.h:123</a></div></div>
<div class="ttc" id="classShipCAD_1_1FileBuffer_html"><div class="ttname"><a href="classShipCAD_1_1FileBuffer.html">ShipCAD::FileBuffer</a></div><div class="ttdoc">in-memory buffer for a binary file (FREE!Ship format) </div><div class="ttdef"><b>Definition:</b> <a href="filebuffer_8h_source.html#l00052">filebuffer.h:52</a></div></div>
<div class="ttc" id="classShipCAD_1_1ProjectSettings_html_a194fe12f81ed80e691e8a89c88d91a0b"><div class="ttname"><a href="classShipCAD_1_1ProjectSettings.html#a194fe12f81ed80e691e8a89c88d91a0b">ShipCAD::ProjectSettings::getMainframeLocation</a></div><div class="ttdeci">float getMainframeLocation() const </div><div class="ttdef"><b>Definition:</b> <a href="projsettings_8cpp_source.html#l00079">projsettings.cpp:79</a></div></div>
<div class="ttc" id="classShipCAD_1_1ShipCADModel_html_a94a8eed8ac8ff4ad8287a0a1113e3271"><div class="ttname"><a href="classShipCAD_1_1ShipCADModel.html#a94a8eed8ac8ff4ad8287a0a1113e3271">ShipCAD::ShipCADModel::getProjectSettings</a></div><div class="ttdeci">ProjectSettings &amp; getProjectSettings()</div><div class="ttdef"><b>Definition:</b> <a href="shipcadmodel_8h_source.html#l00076">shipcadmodel.h:76</a></div></div>
<div class="ttc" id="classShipCAD_1_1Spline_html_a58f8c0b2fcc07931a886a85515750e59"><div class="ttname"><a href="classShipCAD_1_1Spline.html#a58f8c0b2fcc07931a886a85515750e59">ShipCAD::Spline::getFragments</a></div><div class="ttdeci">size_t getFragments() const </div><div class="ttdef"><b>Definition:</b> <a href="spline_8h_source.html#l00151">spline.h:151</a></div></div>
<div class="ttc" id="classShipCAD_1_1Spline_html_a5abb8df513d25abe8b0ec000a7926a66"><div class="ttname"><a href="classShipCAD_1_1Spline.html#a5abb8df513d25abe8b0ec000a7926a66">ShipCAD::Spline::saveBinary</a></div><div class="ttdeci">void saveBinary(FileBuffer &amp;destination) const </div><div class="ttdef"><b>Definition:</b> <a href="spline_8cpp_source.html#l00729">spline.cpp:729</a></div></div>
<div class="ttc" id="classShipCAD_1_1ShipCADModel_html_afd7e984f4070d08cb16264c1b731580f"><div class="ttname"><a href="classShipCAD_1_1ShipCADModel.html#afd7e984f4070d08cb16264c1b731580f">ShipCAD::ShipCADModel::setSelectedMarker</a></div><div class="ttdeci">void setSelectedMarker(Marker *mark)</div><div class="ttdef"><b>Definition:</b> <a href="shipcadmodel_8cpp_source.html#l01100">shipcadmodel.cpp:1100</a></div></div>
<div class="ttc" id="classShipCAD_1_1ShipCADModel_html_a837f41ecb002cd0e197d365edbef3d52"><div class="ttname"><a href="classShipCAD_1_1ShipCADModel.html#a837f41ecb002cd0e197d365edbef3d52">ShipCAD::ShipCADModel::getFileVersion</a></div><div class="ttdeci">version_t getFileVersion() const </div><div class="ttdef"><b>Definition:</b> <a href="shipcadmodel_8h_source.html#l00151">shipcadmodel.h:151</a></div></div>
<div class="ttc" id="classShipCAD_1_1Marker_html_ab7beb66cda8917ec7bfbc833f9b71071"><div class="ttname"><a href="classShipCAD_1_1Marker.html#ab7beb66cda8917ec7bfbc833f9b71071">ShipCAD::Marker::isSelected</a></div><div class="ttdeci">bool isSelected() const </div><div class="ttdef"><b>Definition:</b> <a href="marker_8cpp_source.html#l00155">marker.cpp:155</a></div></div>
<div class="ttc" id="classShipCAD_1_1ShipCADModel_html_a7fb06b0a1fa75ef02597752fc3f691a2"><div class="ttname"><a href="classShipCAD_1_1ShipCADModel.html#a7fb06b0a1fa75ef02597752fc3f691a2">ShipCAD::ShipCADModel::removeSelectedMarker</a></div><div class="ttdeci">void removeSelectedMarker(Marker *mark)</div><div class="ttdef"><b>Definition:</b> <a href="shipcadmodel_8cpp_source.html#l01105">shipcadmodel.cpp:1105</a></div></div>
<div class="ttc" id="classShipCAD_1_1Marker_html_af505b0f8f0aa9049fd65a7f9b675abbc"><div class="ttname"><a href="classShipCAD_1_1Marker.html#af505b0f8f0aa9049fd65a7f9b675abbc">ShipCAD::Marker::construct</a></div><div class="ttdeci">static Marker * construct(ShipCADModel *owner)</div><div class="ttdef"><b>Definition:</b> <a href="marker_8cpp_source.html#l00051">marker.cpp:51</a></div></div>
<div class="ttc" id="classShipCAD_1_1Spline_html_a755e063448eccbb2714d763596630b9d"><div class="ttname"><a href="classShipCAD_1_1Spline.html#a755e063448eccbb2714d763596630b9d">ShipCAD::Spline::curvature</a></div><div class="ttdeci">float curvature(float parameter, QVector3D &amp;normal) const </div><div class="ttdef"><b>Definition:</b> <a href="spline_8cpp_source.html#l00447">spline.cpp:447</a></div></div>
<div class="ttc" id="classShipCAD_1_1Spline_html_af82a5bc6171a9252de5e4c74bf1288e5"><div class="ttname"><a href="classShipCAD_1_1Spline.html#af82a5bc6171a9252de5e4c74bf1288e5">ShipCAD::Spline::getCurvatureScale</a></div><div class="ttdeci">float getCurvatureScale() const </div><div class="ttdef"><b>Definition:</b> <a href="spline_8h_source.html#l00139">spline.h:139</a></div></div>
<div class="ttc" id="classShipCAD_1_1LineShader_html"><div class="ttname"><a href="classShipCAD_1_1LineShader.html">ShipCAD::LineShader</a></div><div class="ttdef"><b>Definition:</b> <a href="shader_8h_source.html#l00075">shader.h:75</a></div></div>
<div class="ttc" id="classShipCAD_1_1Marker_html_a0cca647d9b32dc69b03903b024dc3091"><div class="ttname"><a href="classShipCAD_1_1Marker.html#a0cca647d9b32dc69b03903b024dc3091">ShipCAD::Marker::draw</a></div><div class="ttdeci">virtual void draw(Viewport &amp;vp, LineShader *lineshader)</div><div class="ttdef"><b>Definition:</b> <a href="marker_8cpp_source.html#l00063">marker.cpp:63</a></div></div>
<div class="ttc" id="classShipCAD_1_1Spline_html_a02967f3eee8b1755eab0d7da55c3c621"><div class="ttname"><a href="classShipCAD_1_1Spline.html#a02967f3eee8b1755eab0d7da55c3c621">ShipCAD::Spline::clear</a></div><div class="ttdeci">virtual void clear()</div><div class="ttdef"><b>Definition:</b> <a href="spline_8cpp_source.html#l00790">spline.cpp:790</a></div></div>
<div class="ttc" id="classShipCAD_1_1Marker_html"><div class="ttname"><a href="classShipCAD_1_1Marker.html">ShipCAD::Marker</a></div><div class="ttdef"><b>Definition:</b> <a href="marker_8h_source.html#l00048">marker.h:48</a></div></div>
<div class="ttc" id="shipcadmodel_8h_html"><div class="ttname"><a href="shipcadmodel_8h.html">shipcadmodel.h</a></div></div>
<div class="ttc" id="classShipCAD_1_1Plane_html"><div class="ttname"><a href="classShipCAD_1_1Plane.html">ShipCAD::Plane</a></div><div class="ttdef"><b>Definition:</b> <a href="plane_8h_source.html#l00039">plane.h:39</a></div></div>
<div class="ttc" id="classPointerVector_html_abaee9f77dee6ea2523dff64b184c9f54"><div class="ttname"><a href="classPointerVector.html#abaee9f77dee6ea2523dff64b184c9f54">PointerVector::add</a></div><div class="ttdeci">void add(T *elem)</div><div class="ttdef"><b>Definition:</b> <a href="pointervec_8h_source.html#l00072">pointervec.h:72</a></div></div>
<div class="ttc" id="classShipCAD_1_1Entity_html_a747f437fa410f5b8b6251967fd3a90aa"><div class="ttname"><a href="classShipCAD_1_1Entity.html#a747f437fa410f5b8b6251967fd3a90aa">ShipCAD::Entity::getColor</a></div><div class="ttdeci">virtual QColor getColor() const </div><div class="ttdef"><b>Definition:</b> <a href="entity_8h_source.html#l00080">entity.h:80</a></div></div>
<div class="ttc" id="classShipCAD_1_1IntersectionData_html_a06fcbb71243644bdea0e5b86da3b191c"><div class="ttname"><a href="classShipCAD_1_1IntersectionData.html#a06fcbb71243644bdea0e5b86da3b191c">ShipCAD::IntersectionData::parameters</a></div><div class="ttdeci">std::vector&lt; float &gt; parameters</div><div class="ttdef"><b>Definition:</b> <a href="entity_8h_source.html#l00058">entity.h:58</a></div></div>
<div class="ttc" id="classShipCAD_1_1Marker_html_a216cf592a0945f6b6923a00c9625e3bf"><div class="ttname"><a href="classShipCAD_1_1Marker.html#a216cf592a0945f6b6923a00c9625e3bf">ShipCAD::Marker::Marker</a></div><div class="ttdeci">Marker(ShipCADModel *owner)</div><div class="ttdef"><b>Definition:</b> <a href="marker_8cpp_source.html#l00045">marker.cpp:45</a></div></div>
<div class="ttc" id="classShipCAD_1_1Spline_html_a2b6fa67f7463838ab2ee9d7b8381a9c5"><div class="ttname"><a href="classShipCAD_1_1Spline.html#a2b6fa67f7463838ab2ee9d7b8381a9c5">ShipCAD::Spline::showCurvature</a></div><div class="ttdeci">bool showCurvature() const </div><div class="ttdef"><b>Definition:</b> <a href="spline_8h_source.html#l00131">spline.h:131</a></div></div>
<div class="ttc" id="namespaceShipCAD_html"><div class="ttname"><a href="namespaceShipCAD.html">ShipCAD</a></div><div class="ttdef"><b>Definition:</b> <a href="backgroundimage_8h_source.html#l00039">backgroundimage.h:39</a></div></div>
<div class="ttc" id="classShipCAD_1_1ShipCADModel_html"><div class="ttname"><a href="classShipCAD_1_1ShipCADModel.html">ShipCAD::ShipCADModel</a></div><div class="ttdef"><b>Definition:</b> <a href="shipcadmodel_8h_source.html#l00063">shipcadmodel.h:63</a></div></div>
<div class="ttc" id="classShipCAD_1_1Spline_html_ada8dd726a502187bf0e35022576395d3"><div class="ttname"><a href="classShipCAD_1_1Spline.html#ada8dd726a502187bf0e35022576395d3">ShipCAD::Spline::intersect_plane</a></div><div class="ttdeci">bool intersect_plane(const Plane &amp;plane, IntersectionData &amp;output) const </div><div class="ttdef"><b>Definition:</b> <a href="spline_8cpp_source.html#l00666">spline.cpp:666</a></div></div>
<div class="ttc" id="marker_8h_html"><div class="ttname"><a href="marker_8h.html">marker.h</a></div></div>
<div class="ttc" id="namespaceShipCAD_html_a742f9cd95e62e207769e17467ecd5bb7ad45c94ca5dea7f967d58f9864f49c465"><div class="ttname"><a href="namespaceShipCAD.html#a742f9cd95e62e207769e17467ecd5bb7ad45c94ca5dea7f967d58f9864f49c465">ShipCAD::mvBoth</a></div><div class="ttdef"><b>Definition:</b> <a href="shipcadlib_8h_source.html#l00158">shipcadlib.h:158</a></div></div>
<div class="ttc" id="classShipCAD_1_1Visibility_html_a34d56f9e9467b9749c6b50adfe8a0493"><div class="ttname"><a href="classShipCAD_1_1Visibility.html#a34d56f9e9467b9749c6b50adfe8a0493">ShipCAD::Visibility::getModelView</a></div><div class="ttdeci">model_view_t getModelView() const </div><div class="ttdoc">get model view setting </div><div class="ttdef"><b>Definition:</b> <a href="visibility_8h_source.html#l00152">visibility.h:152</a></div></div>
<div class="ttc" id="classShipCAD_1_1Entity_html_a5e0e5f174d287e807b5409b1aa5704bc"><div class="ttname"><a href="classShipCAD_1_1Entity.html#a5e0e5f174d287e807b5409b1aa5704bc">ShipCAD::Entity::setColor</a></div><div class="ttdeci">void setColor(const QColor &amp;col)</div><div class="ttdef"><b>Definition:</b> <a href="entity_8h_source.html#l00082">entity.h:82</a></div></div>
<div class="ttc" id="classShipCAD_1_1Marker_html_a0f2aa7cd6bae40784c077b89d5ebdb50"><div class="ttname"><a href="classShipCAD_1_1Marker.html#a0f2aa7cd6bae40784c077b89d5ebdb50">ShipCAD::Marker::loadBinary</a></div><div class="ttdeci">void loadBinary(FileBuffer &amp;source)</div><div class="ttdef"><b>Definition:</b> <a href="marker_8cpp_source.html#l00168">marker.cpp:168</a></div></div>
</div><!-- fragment --></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Sun Feb 25 2018 15:36:00 for ShipCAD by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.11
</small></address>
</body>
</html>
